package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName tv_info
 */
@TableName(value ="tv_info")
public class TvInfo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Object id;

    /**
     * 
     */
    private String productmodel;

    /**
     * 
     */
    private String productname;

    /**
     * 
     */
    private String usb2number;

    /**
     * 
     */
    private String usb3number;

    /**
     * 
     */
    private String hdmi21number;

    /**
     * 
     */
    private String hdmi20number;

    /**
     * 
     */
    private String lcdmodel;

    /**
     * 
     */
    private String productidcode;

    /**
     * 
     */
    private String productprice;

    /**
     * 
     */
    private String base64;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Object getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Object id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getProductmodel() {
        return productmodel;
    }

    /**
     * 
     */
    public void setProductmodel(String productmodel) {
        this.productmodel = productmodel;
    }

    /**
     * 
     */
    public String getProductname() {
        return productname;
    }

    /**
     * 
     */
    public void setProductname(String productname) {
        this.productname = productname;
    }

    /**
     * 
     */
    public String getUsb2number() {
        return usb2number;
    }

    /**
     * 
     */
    public void setUsb2number(String usb2number) {
        this.usb2number = usb2number;
    }

    /**
     * 
     */
    public String getUsb3number() {
        return usb3number;
    }

    /**
     * 
     */
    public void setUsb3number(String usb3number) {
        this.usb3number = usb3number;
    }

    /**
     * 
     */
    public String getHdmi21number() {
        return hdmi21number;
    }

    /**
     * 
     */
    public void setHdmi21number(String hdmi21number) {
        this.hdmi21number = hdmi21number;
    }

    /**
     * 
     */
    public String getHdmi20number() {
        return hdmi20number;
    }

    /**
     * 
     */
    public void setHdmi20number(String hdmi20number) {
        this.hdmi20number = hdmi20number;
    }

    /**
     * 
     */
    public String getLcdmodel() {
        return lcdmodel;
    }

    /**
     * 
     */
    public void setLcdmodel(String lcdmodel) {
        this.lcdmodel = lcdmodel;
    }

    /**
     * 
     */
    public String getProductidcode() {
        return productidcode;
    }

    /**
     * 
     */
    public void setProductidcode(String productidcode) {
        this.productidcode = productidcode;
    }

    /**
     * 
     */
    public String getProductprice() {
        return productprice;
    }

    /**
     * 
     */
    public void setProductprice(String productprice) {
        this.productprice = productprice;
    }

    /**
     * 
     */
    public String getBase64() {
        return base64;
    }

    /**
     * 
     */
    public void setBase64(String base64) {
        this.base64 = base64;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TvInfo other = (TvInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getProductmodel() == null ? other.getProductmodel() == null : this.getProductmodel().equals(other.getProductmodel()))
            && (this.getProductname() == null ? other.getProductname() == null : this.getProductname().equals(other.getProductname()))
            && (this.getUsb2number() == null ? other.getUsb2number() == null : this.getUsb2number().equals(other.getUsb2number()))
            && (this.getUsb3number() == null ? other.getUsb3number() == null : this.getUsb3number().equals(other.getUsb3number()))
            && (this.getHdmi21number() == null ? other.getHdmi21number() == null : this.getHdmi21number().equals(other.getHdmi21number()))
            && (this.getHdmi20number() == null ? other.getHdmi20number() == null : this.getHdmi20number().equals(other.getHdmi20number()))
            && (this.getLcdmodel() == null ? other.getLcdmodel() == null : this.getLcdmodel().equals(other.getLcdmodel()))
            && (this.getProductidcode() == null ? other.getProductidcode() == null : this.getProductidcode().equals(other.getProductidcode()))
            && (this.getProductprice() == null ? other.getProductprice() == null : this.getProductprice().equals(other.getProductprice()))
            && (this.getBase64() == null ? other.getBase64() == null : this.getBase64().equals(other.getBase64()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getProductmodel() == null) ? 0 : getProductmodel().hashCode());
        result = prime * result + ((getProductname() == null) ? 0 : getProductname().hashCode());
        result = prime * result + ((getUsb2number() == null) ? 0 : getUsb2number().hashCode());
        result = prime * result + ((getUsb3number() == null) ? 0 : getUsb3number().hashCode());
        result = prime * result + ((getHdmi21number() == null) ? 0 : getHdmi21number().hashCode());
        result = prime * result + ((getHdmi20number() == null) ? 0 : getHdmi20number().hashCode());
        result = prime * result + ((getLcdmodel() == null) ? 0 : getLcdmodel().hashCode());
        result = prime * result + ((getProductidcode() == null) ? 0 : getProductidcode().hashCode());
        result = prime * result + ((getProductprice() == null) ? 0 : getProductprice().hashCode());
        result = prime * result + ((getBase64() == null) ? 0 : getBase64().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productmodel=").append(productmodel);
        sb.append(", productname=").append(productname);
        sb.append(", usb2number=").append(usb2number);
        sb.append(", usb3number=").append(usb3number);
        sb.append(", hdmi21number=").append(hdmi21number);
        sb.append(", hdmi20number=").append(hdmi20number);
        sb.append(", lcdmodel=").append(lcdmodel);
        sb.append(", productidcode=").append(productidcode);
        sb.append(", productprice=").append(productprice);
        sb.append(", base64=").append(base64);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}